<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/normalize.css">
    <link rel="stylesheet" href="./css/index.css">
    <link rel="stylesheet" href="./css/swiper.min.css">
</head>

<body>
    <section class="wrap">
        <header>黑马面面</header>
        <nav>
            <a href="#" class="icon"><img src="./icons/icon1.png" alt="">
                HR面试</a>
            <a href="#" class="icon"><img src="./icons/icon2.png" alt="">
                笔试</a><a href="#" class="icon"><img src="./icons/icon3.png" alt="">
                技术面试</a><a href="#" class="icon"><img src="./icons/icon4.png" alt="">
                模拟面试</a><a href="#" class="icon"><img src="./icons/icon5.png" alt="">
                面试技巧</a><a href="#" class="icon"><img src="./icons/icon6.png" alt="">
                薪资查询</a>
        </nav>
        <section class="go"><img src="./images/go.png" alt=""></section>
        <!-- 轮播图1 -->
    </section>
    <section class="content">
        <div class="content-hd">
            <h4><span></span>就业指导</h4>
            <a href="" class="more">更多>></a>
        </div>
        <div class="content-bd">
            <!-- swiper -->
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href=""><img src="./images/pic.png" alt=""></a>
                        <p>老师教你小技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href=""><img src="./images/ldh.jpg" alt=""></a>
                        <p>老师教你小技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href=""><img src="./images/2.jpg" alt=""></a>
                        <p>老师教你小技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href=""><img src="./images/3.jpg" alt=""></a>
                        <p>老师教你小技巧</p>
                    </div>
                    <!-- <div class="swiper-slide">Slide 5</div>
                    <div class="swiper-slide">Slide 6</div>
                    <div class="swiper-slide">Slide 7</div>
                    <div class="swiper-slide">Slide 8</div>
                    <div class="swiper-slide">Slide 9</div>
                    <div class="swiper-slide">Slide 10</div> -->
                </div>

            </div>
            <!-- Add Arrows 添加左右箭头 2.把箭头拿到content外 -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
    </section>
    <!-- 第二个轮播图 -->
    <section class="content">
        <div class="content-hd">
            <h4><span></span>就业指导</h4>
            <a href="" class="more">更多>></a>
        </div>
        <!-- Swiper -->
        <div class="content-bd2">
            <div class="swiper-container2">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="./images/pic1.png" alt="">
                        <h5>说地道英语，告别pink英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic2.png" alt="">
                        <h5>说地道英语，告别pink英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic1.png" alt="">
                        <h5>说地道英语，告别pink英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic2.png" alt="">
                        <h5>说地道英语，告别pink英语</h5>
                        <p>156人学习</p>
                    </div>

                </div>
            </div>
        </div>
    </section>
    <!-- 底部 -->
    <footer class="footer">
        <a href="#" class="item">
            <img src="./icons/home.png" alt="" />
            <p>首页</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/ms.png" alt="" />
            <p>模拟面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/net.png" alt="" />
            <p>技术面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/user.png" alt="" />
            <p>我的首页</p>
        </a>
    </footer>
    <script src="./js/flexible.js"></script>
    <script src="./js/swiper.min.js"></script>

    <script>
        // 就业轮播图，放到沙箱函数中
        (function () {
            var swiper = new Swiper('.swiper-container', {
                // 能显示的slide图片的个数
                slidesPerView: 3,
                // 每个slide之间的距离
                spaceBetween: 30,
                // 将中间的放在中间显示
                centeredSlides: true,
                loop: true,
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },

                // 添加左右箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
            });
        })();
        // 第二个轮播图
        (function () {

            var swiper = new Swiper('.swiper-container2', {
                slidesPerView: 2.3,
                spaceBetween: 20,
                pagination: {
                    el: '.swiper-pagination',
                    clickable: true,
                },
            });
        })()
    </script>
</body>

</html>